Transistor is reducing and sharing voltage

I can't see any resistors. You need them between the arduino outputs and the base of the transistor.
The transistor should be wired up as the first diagram here:-
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html