If it stopped working with live MIDI input, I can't think what could cause that right offhand. If it's working during live performance, but stopped getting recorded and played back, go to Preferences > MIDI > Playback and Recording, and make sure 'Controller' is checked for recording.
If it's not working with live MIDI input from the keyboard, you'll need to tell us a little more about how the project is set up, incliuding MIDI port and channel I/O assignments and what synth/patch you're using.