Two teenage boys have been charged after a 400kg crocodile was allegedly attacked with a metal pole at a zoo.