A critical incident has been declared, after police on the New South Wales central coast fatally shot a man. Police allege he tried to set an officer on fire.