Hydrogen can be “packaged” in several ways, as a fuel gas in a H2/02 powered engine or the newly devised solid state pellet of hydrogen isotopes that contains about the equivalent of 5000 cubic feet of hydrogen and is broken down and releases gas into the second chamber where it goes to the engine for use. There are many ways to get pure hydrogen out of many compounds using methods such as electrolysis and chemical reactions. One of the easiest ways is using a chemical reaction. Simple chemicals (aluminum,sodium hydroxide, and water) can be reacted in the home to produce heavy hydrogen to power your furnace or your hot water heater . No electrical power at all is required. The reaction also gives off a tremendous amount of heat. Even the waste heat could be captured for heating the house.
The resulting sodium aluminate is harmless and could be collected at recoiling centers for complete acid/base neutralization. This way is a simpler way than electrolysis produce hydrogen for heating the home, because in a automobile it would be harder to do. Electrolysis is another way to produce hydrogen electronically.
It is a way that I am more familiar with because I do it quite a bit in my room and have done several experiments with it. Electrolysis will produce a 2:1 ratio of hydrogen to oxygen out of water. higher voltages will give you faster collection. With a 12-volt battery it took around a half an hour to get a quarter of a mountain dew bottle filled with a catalyst of a small amount of Baking Soda.
I used it because it was cheap and I knew it worked. Another time I used a 75 volt / 2 amp power supply with a catalyst of 2 drops of sulfuric acid to a pint of water and the result was very differing from the last time. I filled the whole mountain dew bottle in less than 6 minutes. All of that gas came from a little less than a drop of water(when I light it off there was only a little spec of water on the inside of the bottle)I can only gasp thinking that that was only 75 volts and voltage can get into the billions of volts. Although electrolysis is not the most efficient way to produce hydrogen it certainly deserves recognition for working and I am sure sometime soon someone will discover a way to produce the same amount of H2 and O2 with less power and time either with a new catalyst or a more efficient power supply.