The number of COVID-19 Omicron infections in New South Wales has grown, with two new cases of the new variant detected in the state.