One-step hydrocarbons steam reforming and CO2 capture