The New South Wales government is being urged to act on road safety after the state recorded a sharp increase in deaths.