The joke is a pun. Mother kangaroos have a pouch, or 'pocket,' on their belly that they use to carry their young in. To 'pocket' something also means to save it for later, such as saving money for when it might be needed in the future.
The mother kangaroo tried to instill good financial habits in her baby . She told him to pocket all his allowance .