Real time optimization of steam reforming of methane in an industrial hydrogen plant