You are going to need a seperate power suply for the motors. You are going to have to switch this with appropriate transistors (you will need to calculate what transistors you need)
What are the wires on the motors? Assuming they are +ve and Gnd then you can switch the +ve assuming need more than 3.3V, if not you'll need to stick a resistor in the line between the board and the transistor.
Make sure you tie the Gnds of the power supplies and the controller togoether otherwise your transistors will start boogieing.
Hopefully the diagram will make it clear.