The problem with someone "helping you" is that they can't test the code without your exact hardware setup. If you write some code and it doesn't work as you expect, then maybe someone can spot the error or give you some debugging/troubleshooting suggestions.
As always, I recommend you take it one step at a time.
And when you write your code start with the simplest possible program. Maybe in your case start with the Digital Read Serial Example, and read your pushbutton or one limit switch. And then add one or two lines of code at a time, test-compiling and test-running as you go-along.
And it's always helpful to throw-in Serial.print() statements to "print out" variable values or little messages, like "Running motor 1 clockwise", or "Limit sensed", etc. Anything to let you know what the program is doing and to make sure it's doing what you think its doing.
You can either work on the input or output first. Sometimes you need one part working before you can test another part, etc. Or, you can choose the easy part or the hard part. If you are unsure about how stepper motors work you might want to play-around with getting a stepper motor to run both directions, etc.
It's not unusual to write some special test-code just to test the hardware. And sometimes test code is written just to test different parts of the software (especially with larger programs). And, you're kind-of doing that with those Serial.print statements.
The two most important concepts in programming are conditional execution (if statements, etc.) and loops (doing something over-and-over, usually until some condition is reached). In addition to the Arduino main loop, there are 3 kinds of loops - Do-while loops, while() loops, and for-loops. Once you understand those concepts you can begin to develop programs. You can use an if-statement, or maybe an interrupt (both conditional execution) to "do something different" when you hit the limit switch. And, you could use a for-loop to make your motor step 1000 times. (Although, some of those details are handled for you by the stepper library.)
Do you have any experience with electronics, and do you have a multimeter?