How is that possible to do? Move object

Arw you trying to move the camera on two axis at once with a single input, or are you wanting to lock movement of the camera to two axis?