Hydrogen is a bad answer to the wrong question
There is no efficient way to make hydrogen. There is no long term way to store hydrogen. (It leaks out of containers too quickly), It's energy density is quite low so you need large heavy tanks to give practical range. There is no infrastructure to distribute hydrogren, and you cannot retrofit existing vehicles to run on hydrogen (to my knowledge). It is inherently expensive.
Compressed natural gas is a mature technology. Vehicles can be retro-fitted. Range is practical, national distribution network already in place. Duel fuel vehicles can have increased range. Widely used in parts of the developing world already.
Of course natural gas is a fossil fuel, we currently import an ever increasing percentage of our supply, but global supply has not yet peaked (unlike oil). At present, it costs about half as much as oil per unit energy.
Unfortunately, CNG is not the long term answer to personal motorised transport. We are at the peak of industrial civilisation and beginning the downslope. 30 years from now, there will be very few cars on the road, anywhere in the world.