Cyclone Alfred is approaching the coast of NSW and Queensland with millions of people in its path.