Two people are in custody after gunfire reports at Bondi Beach, prompting police to urge the public to avoid the area.