How can I move an object on a plane of two axis like XY?
By pressing SHIFT+X, SHIFT+Y or SHIFT+Z, while you're grabbing (G), the operator will constrain the movement in that axis. So G then SHIFT+Z will just move the selection in the XY plane.