Methods for reducing the capital costs of electrolyzers for hydrogen generation