Hydrogen can be produced through several methods, with the most common being steam methane reforming and water electrolysis. Steam methane reforming involves reacting methane with steam over a catalyst to produce hydrogen and carbon dioxide, while water electrolysis uses electricity to split water into hydrogen and oxygen.