BGE: Getting keyboard entries on screen, entered characters are black
Text objects are supported in the latest versions of blender (have been for a while now).

Example .blend (start game and type): http://www.pasteall.org/blend/32301

By default, "BFont" is used, but you can set other TTF fonts, as you would normally for blender, and those should also work.