X,Y coordinates of moving robot

Hi , 

I am making robotics vehicle which can  avoid obstacles by using 2 ultrasonic sensors. I am now having trouble with x,y coordinates of robot. The task is to move robot from start point to set distination and avoid obstacles between these two points. I am using arduino mega , 2 HR-sc04 , stepper motors with encoder . 
thanks ...