A pump is a type of shoe with a medium heel. To pump someone for information means to aggressively get information from someone. This joke is about a shoe store break in, and centers on the different meanings of the word "pump".
When the shoe store owner discovered that someone had broken into his store , the police pumped him for information .