Actually the 1018 wouldn't work for switching motors on and off, because it doesn't have enough power available on its digital outputs for a motor (at least, not without adding relays and power supplies).
I would recommend the 1012, because it has the digital inputs you need, but it also has open collector digital outputs which behave like little relays. Basically, when you turn one of these outputs on, it will switch that line to ground. So what you would do is get an external power supply for the motor, connect the positive end to the positive wire of the motor, and connect the negative end of the power supply to the ground on the 1012. Then, connect the negative wire of the motor to one of the digital outputs on the 1012. This way, when the output is activated, the circuit will switch to ground thus completing the circuit and allowing current to flow through the motor. You could control up to 16 motors in this way as long as you have enough external power.