What can cause pain in the knee when bending to sit down or applying pressure to put on a shoe?

A number of causes. Most likely its a meniscal lesion, or a chondral/ligament lesion. At your age, it could be a knee cap problem or something called osteochondritis (although you might be old for it). You should see your orthopod.