Not to overstate the obvious, but absolutely knowing your s**t (meaning: subject) inside-and-out would be the first key. If you know your s**t, and can explain it without going over the audience's head, you're bound to figure out the other tricks to being a good teacher.