That's easy if you speak German. "Blaue Bohnen" is German slang for handgun ammunition. Translated into English "Blaue Bohnen" will be "blue beans".
A bullet from a rifle was made of lead, therefore it was blue. And with some fantasy it looks like a bean. So "Give them beans" was just another way to say "shoot them".