Two teenage boys have been charged after allegedly breaking into a zoo and attacking a crocodile with a metal pole.