Effect of hydrogenation on magnetism of U2Co2Sn