The simplest approach is to use the default monospace font. All ePub readers should have one (although I don't know if it has to actually be monospaced). See
What's the default ADE font? for an example of using the default fonts. You would probably want other specific CSS features for code display.