You'll need something called a "MIDI sequencer" or "MIDI editor". This is often a component of a larger software package, but it can also be a stand-alone program. There are many, many options. Here is a basic, free, open-source option that is good for a beginner: http://ariamaestosa.sourceforge.net/
Don't see the answer to your question? Ask the project creator directly.