For crisp photos at a close distance, set the camera to its "macro" setting (usually indicated by a small flower icon). Otherwise it will try to focus at its "minimum distance" or it will use the background as its best focus control.

Also, if you are not already doing so, try to support the camera to minimise shake.