Australian police have taken two people into custody after reports of multiple gunshots at Sydney's Bondi Beach.