Complex sentence: Even though there can only be 24 keys, There are only 12 notes in the octave and each of them can be the tonic of one major and one minor key.
Split into simpler sentences: Even though there can only be 24 keys, There are 12 notes in the octave. Each of them can be the tonic of one major and one minor key.