Hydrongen isn't a fuel, it is a battery
Until someone finds some hydrogen mines, or pipes some in from space, hydrogen is a way to store energy made from other fuels, or collected from renewable generation like solar and wind.
To get hydrogen you have to put energy in. That energy comes from somewhere.
So, it is really a race in battery technology between hydrogen fuel cells and the alternative battery technologies.
And if you make your hydrogen from electricity generated by a coal fired power plant, guess what- it ain't green folks!