Press button 1 = motor clockwise, press button 2 = motor anti-clockwise

DangerToMyself:
May help to know what motor your using.

Also, edit your post and swap out the quote tags with code tags.

Sorry, at the moment it's just in simulated form. I've attached a print screen of the circuit to my original post. The code will eventually be used to control a linear actuator.