joystick program

How to control two dc motor with arduino by using joysticks
please explain with program....

You have permission - you don't need to ask.
Proceed.

please explain with program....

Ah! Mission creep.

A simple joystick is just two potentiometers.
Reading a potentiometer is trivial, and there are examples in the IDE.

Driving a DC motor in one direction using PWM (via a suitable buffer device) is also trivial.

Try some examples, and come back when you've got concrete problems, not just a request for someone to your work for you.