The two pipes should be short spurs from two other pipes which pass the radiator so that when the radiator valves are turned off the water still flows past to the next radiator. If this is the case then you could just cap the two pipes. Rarely,on some much older systems a single pipe was used which ...