It can be because of discharge from the eyes which get
dried up during sleep, gets hard and stiff and you are not able
to open your eyes properly.
Maintain hygiene, avoiding putting dirty hand or fingers into the eyes, keep washing the eyes with clean and hand & clean water.
Use homoeopathic eye drops - Euphrasia/ twice daily for 1 week.