Magnetism in hydrogenated UTGe compounds