NOVELTY - Producing hydrogen and removing carbon dioxide in steam methane reformer (SMR) process, involves: passing shifted syngas from a SMR (106) to a temperature swing adsorption (TSA) unit; taking an off-gas which contains primarily methane and carbon dioxide to a carbon dioxide removal unit; taking a second off-gas containing methane; and recovering purified hydrogen product from the TSA unit for use as a chemical product, fuel gas and/or an input to the steam methane reformer furnace.    USE - In producing hydrogen and removing carbon dioxide in steam methane reformer (SMR) process, for use as chemical product, fuel gas and input to the steam methane reformer furnace (claimed).    ADVANTAGE - The process eliminates or reduces the CO2 emissions from reforming plants to address the global warming resulting from CO2 emissions.    DETAILED DESCRIPTION - A process of producing hydrogen and removing carbon dioxide in a steam methane reformer (SMR) process, involves: passing shifted syngas from a SMR (106) to a temperature swing adsorption (TSA) unit; taking an off-gas which contains primarily methane and carbon dioxide to a carbon dioxide removal unit where the recovered carbon dioxide can be sequestered or used for enhanced oil recovery (EOR); taking a second off-gas containing methane where the stream off gas and first off gas of reduce carbon dioxide are mixed and returned to the steam methane reformer; and recovering purified hydrogen product from the TSA unit for use as a chemical product, fuel gas and/or an input to the steam methane reformer furnace. INDEPENDENT CLAIMS are included for the following:    (1) a multi-step process for operating a temperature swing adsorption (TSA) apparatus, involving: (a) feeding a shifted gas from a steam methane reformer (SMR) to the adsorbent bed adsorbs to remove gases components other than H2 to produce a high purity H2 stream at high pressure exiting the apparatus and upon saturation of the bed which contains impurities CO2, CO, and CH4 and H2O plus H2 remaining within the bed voids; (b) introducing hot natural gas at high pressure greater than 20 bar and temperatures in excess of 200-300 degrees C to remove the CO2 along with the other components and where the CO2 stream may be mixed with a significant amount of H2 so as to decrease the amount of H2 in the CO2 stream so that the gas stream contains majority of the gases trapped in the void volume, including H2, is compressed and recycled to be combined with the feed in step (a); (c) continuing the natural gas sweep to release much of the adsorbed CO2 at the high temperature and where the exiting gas stream contains CH4 and CO2, is sent to a CO2 removal process unit and where the bed is saturated with hot CH4 with small amount of CO2 remaining on the adsorbent; (d) superheated steam is supplied at high temperature of 200-300 degrees C and at high pressure of 10-30 bar to the bed to remove the remaining methane and the impurities and this second off-gas stream is obtained, which is mixed with the CO2 free stream cut from the CO2 removal unit and cycled to a SMR unit as a feed and; (e) the bed, which is now at a high temperature, and saturated with steam, is purged with hot and pure H2 stream produced in step (a) after heat exchange to remove H2 and H2O; and (f) the hot bed is cooled by supplying pure H2 produced in step (a) until the bed is cooled to a temperature of 40-70 degrees C to repeat the process the cycling process; and    (2) a process of operating a temperature swing adsorption (TSA) apparatus in a stream methane reformer process (SMR) where an H2 sweep gas is used, involving: (a1) where shifted gas from the SMR is fed to adsorbing beds capable of adsorbing impurities other than H2 and where high pressure H2 exits to adsorption bed until bed saturation with CO2, CO, and CH4 and H2O plus H2 remaining; (b1) a portion of the purified H2 is heated to 200-300 degrees C and is sent to the bed to remove the CO2, CO, CH4 impurities; (c1) the H2 gas injection is continued to release the adsorbed CO2 at the high temperature where the exiting gas stream primarily contains H2 and CO2 with minor amounts of CH4 and CO is sent to a CO2 removal process unit; (e1) a portion of the H2 product is supplied to the lower temperature of 40-70 degrees C to the bed to remove the rest of the CO2 and the impurities and a portion of the gas exiting from step (e1), which is at a higher temperature, after further heat exchange with a medium such as steam, constitutes the hot H2 as an off-gas stream, which is mixed with the H2 stream cut from the CO2 removal unit and sent to the SMR unit as a fuel for the reformer furnace and to permit the process to cycle again.    DESCRIPTION OF DRAWING(S) - The figure shows a process schematic of the steam methane reforming (SMR) process.    Steam (102)    Natural gas (104)    Steam methane reformer (106)    Heat recovery steam generator (112)    High temperature/low temperature shift reactor (116)