I just had a look at the manual for 9.0 (not sure if that's the version you have, but it looks appropriate) and there's a full run-down on setting up the MIDI keyboard in chapter 195.
Download it here:
Sony Creative Software - Download: Sound Forge 9.0 Manual
That should get you sorted.