how to control stopping and holding Stepper

I need to write a bit of code to check the state of the move and then once it is completed, stop the movement?

Yes sort of :-
while(the button is held down){ give steps to the motor }
while(the other button is held down){ give opposite direction steps to the motor }

this will then only feed movement steps for the time a button is held down.