during sleep due to excess of pressure on your hands by your body which prevent the proper blood flow to the hands causes numbness
so change your sleeping position and do regular exercises for the proper blood flow and to strengthen the muscles and pain in the wrist joint may be due to excess strain to wrist joint do before you go to bed give hot fomentation to the wrist joint and apply muscle relaxant
ointment. if the symptoms still persists consult the doctor for further evaluations.
hope this answers your query.
get well soon.