Fuel cells are not energy form, but "energy storage". For fuel cells to operate hydrogen is needed. Hydrogen is found in the water and in order to produce it water should be split into hydrogen and oxygen. For the splitting process electrical energy is used.
The pollution therefore is sifted to the area the electrical energy is produced.