As noted above, you can get a very cheap MIDI interface for your computer. A 2x2 should cost very little.
Once you have the interface set up, you need to go into Preferences to make sure it's recognized/listed there.
When you want to send MIDI to a Track, go into Track Inspector and ensure your interface is selected as the INPUT. It should say something like "MIDISPORT 2x2 IN A" depending on the name of your interface and which port on it you are using. It could have just one port, two, four, eight, or whatever. In that same place, you can click on that selection to pick the MIDI Channel.
Just a note, you can get a very small keyboard from Akai or other makers that will have a USB interface and it will basically just be plug-and-play. Of course, these inexpensive ones have short keyboards, but that may work for you.