"Mind your Ps and Cs" = Mind your Ps and Scythes.
Scythes and cues rhyme, so the joke is simply wordplay.