In that case you might need to at least borrow a keyboard from a friend, since installing the system is quite impossible if you have no working input devices
not to mention configuring one..mouse is not relevant in the beginning, keyboard probably is. After borrowing a keyboard you can configure the system completely. But before rushing on with a borrowed keyboard (or bought one; the cheapest are really cheap) make sure you know which driver does work with your keyboard and/or mouse; if such driver exists, it probably can be compiled in the kernel, but in that case you'll need to recompile the kernel yourself (and cannot use binary kernels from apt or so).
What's so special about your keyboard and mouse that they don't work with standard drivers? Wireless and optical stuff works usually, at least somehow even before configuring anything, so are your cadgets something that works with nuclear power, uses lasers and turns invicible when looked at, or what?
If you boot your Ubuntu with the kernel option (press F6 in the boot screen to edit options)
nosplash instead of
splash, what error messages can you see (that might have something to do with the input devices)?
This sounds interesting. I know mouses that don't work well, and keyboards that don't work all right, but never bumped into a set before that doesn't work at all.