Xbee remote control

The Leonardo has two hardware serial ports - one using the TX and RX pins and the other using the USB chip. Why do you need SoftwareSerial, too?

Which XBees are you using? How have you configured them?

The code does something. What does it actually do? What do you want it to do instead? Is that code on the sender or the receiver? Where is the other code?