Integrating and producing hydrogen