TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Process: The step of collecting and recycling the impurities is performed in an adsorption unit comprising at least two adsorbers and comprises at least one phase of: adsorption of impurities on the first adsorber; and regenerating first adsorber and adsorption of impurities on the second adsorber. The regeneration phase of the adsorber is carried out by: isolating the adsorber when it is saturated and placing the second adsorber in line; scanning the first adsorber, with a flow of hydrocarbon charge as a charge for the steam reforming unit and heated by exchange with the steam for steam reforming unit, to obtain a temperature of at least 20 degrees C at the condensation temperature of steam; regenerating the reheated adsorber and desorption of impurities by circulation of superheated steam at temperature of at least 20 degrees C for the steam reforming unit; eliminating water vapor present in the adsorber regenerated by sweeping of the adsorber with a pure and hot hydrogen stream; and sweeping the adsorber cleared of steam by a pure and cold hydrogen stream. The step of adsorbing impurities is performed at 20-100 degrees C. The adsorption step is carried out with an adsorbent of activated carbon type or carbon molecular sieve type. The adsorption step is performed with a carbon prepared by physical activation in the steam. The adsorption step is carried out with an activated carbon containing micropores of which the diameter is less than 2 nm, macropores of which the diameter is greater than diameter exceeds 50 nm, and a smaller amount of mesopores with diameter of 2-50 nm. In the process: a part of the hot hydrogen flow and saturated with water vapor obtained after sweeping of the regenerated adsorber, is sent towards the burners of reforming unit, and the other part of the stream is sent in mixture with steam for dilution towards a gas turbine for producing electricity; and a part of the cold hydrogen stream obtained after sweeping the regenerated adsorber is sent towards an external unit, while the rest of the hydrogen is used for hot sweeping, and then sent towards the burners for reforming unit. The heated hydrogen stream obtained after the cooling of the adsorber is again heated by exchange with steam and used in the elimination phase of the water vapor present in the absorber. The step of producing of synthesis gas is carried out at a pressure of 2.5-3.5 MPa. The step of collecting carbon dioxide is produced in an amine unit by using the methyldiethylamine and at least another amine. Preferred Components: The hydrocarbon charge is natural gas. The adsorbed impurities are methane, carbon dioxide and carbon monoxide. EXAMPLE - No suitable example given.