how to make 4 wires system of Unipolar Motor control into 2 wires

is there any way to modify this schematic in to 2 wires system?eg. dir,steps

You can try an Allegro UCN5804B. It's a pretty old chip; unipolar drivers just aren't very popular.

It can be done using a couple of logic chips.