In case you want to use syntax highlighting on code in Keynote I've found that using http://gist.github.com to highlight and then copying the code into a text field in Keynote will retain the syntax highlighting and is a simple way to get syntax highlighting across a wide variety of languages.