Forty-nine people have been killed and four people are in custody after attackers opened fire during Friday prayers at two mosques in the New Zealand city of Christchurch.