your keyboard is a plug and play then if it doesn't need drivers.
I would go through the obvious, plug it in/start sonar x2 go to midi devices, look for your device.
worst comes to worst, unplug the keyboard while sonar is open/did you get a message saying it has been plugged in and do you want this device added?