You can probably find some of my shots around, taken with a 12MP P&S.
Good lighting, as everyone else says, is the biggest help.
I use a small tripod for photographing mostly keycaps, usually on macro setting. Set the timer for 2s, focus and stand back and wait.
Take a few shots of the same thing, perhaps with the camera a cm or two (inch or so if you prefer) closer and further away. Sometimes the second shot turns out better.