Electric power is used to separate out Hydrogen from water, so the process of producing Hydrogen is Power intensive. The Hydrogen then has to be transported to all the Hydrogen stations around the country, as we presently do for Petrol and Diesel.
Electric Power is already available to every house and commercial building.
If Hydrogen is burnt in a combustion engine, there are gas by products such as water and Nitrous Oxide, water is ok, but NO2 is not nice.
If we use the Hydrogen Fuel cell there is only water as a by product, but we still have to reticulate the compressed, and flammable gas around the country, and use power to extract it.
Solar Power uses light to generate electrical power by a Photo Voltaic process.