Very pure hydrogen is obtained by
Reaction of coal or CO with steam
Electrolysis of warm, aqueous solution of Ba(OH)2 between nickel electrodes
Cracking of naphtha and fuel cell
Adding zinc granules to all acids
Granulated zinc is preferred over pure zinc to produce hydrogen by reacting with acids:-