Hydrogen is not an energy resource. Like a battery, it is only a storage medium.
It takes more energy to break the water molecule than burning the hydrogen gets back. This is a fundamental property of water and the reason it is such a stable compound.
If one separates hydrogen from natural gas or some other hydrocarbon, from an energy use standpoint, it would be more efficient just to burn the hydrocarbon.
In order to go to a hydrogen based energy system we need to build dams, nuclear plants, solar and wind, tidal, waves, etc. to get the energy in the first place to make the hydrogen.