Your mother is an elderly diabetic with hypertension
She is on regular medication for both.
Now she is complaining of severe pain
in the legs.
Both Diabetes and hypertension can cause peripheral neuropathy
can also cause B12 deficiency and peripheral neuropathy.
But now she seems to have Osteo Arthritis of the knee / Hip joint.
Consult an orthopedician.