For example, if you want two motors on the x-axis and the x-axis pins on the breakout board are #2 for step and #3 for direction, the #2 will connect to the step (cp) terminal on each driver and the #3 will connect to the dir (cw) terminal on each driver. Since you want both motors to spin at the same rate and possibly in the same direction, you need to connect both motor drivers to the same breakout board pins.