I'm guessing that there is a software setting in Mach 3 that will reverse the motors, but I've never used mach 3, so I can't say.
However, you should be able to reverse the direction of the X and Y motors by reversing their polarity. If your motors are bipolar, determine which pairs of wires go to each coil, and reverse each pair.