A man has been charged after two children were killed when a car crashed into pedestrians in central west NSW.