Step by step motor control with button

Hello, I have has my disposition an arduino card, two step by step motor , four buttons, one l293d . I would like to control the direction of the motor, I give some explanation. When I touch nothing, nothing is happening , when I touch a button it activates a motor, when I activate another button the same motor turns but on the inverse direction where from l293d and similar for the other motor.
I am novice thus please be precise so that I understand you and to allow me to learn. Thank you has you all beforehand! (sorry for my english i’m french)

Have a look at the Stepper library and try the examples to get your motor moving.

There are button code examples in the Arduino IDE - explore them.

Then you should be equipped to write a program that causes you motor to do as you want.

Post a link to the datasheet for your stepper motor.

...R Stepper Motor Basics