As far as I know, no it doesn't work with 2d colliders as the physics system is fundamentally different and 2d can't collide with 3d. It's fairly straight forward to make your own though - like arenmook wrote, check for if UICamera.hoveredObject == null, then your game can use the touch that can be found in the Input class.