it can be a prepatellar bursitis
. it is accumulation of the fluid in the knee joint which is painful and causes difficulty in kneeling. I would suggest you to show it to orthoapedic surgeon. it may need ultrasound
examination. He may adviced you to get needle aspiration of the fluid or steroid
injection. Some time surgical excision of the bursa is also needed.