When you use a software driver like Mach 3, you can simply slave one drive to the the other and reverse motor direction. With a system like you describe, it depends on the electronics and whether you are using a single driver or separate driver for each motor. You can reverse the direction of a stepper motor by simply reversing the current in one set of the coils.