Two men have been charged following an incident at a petrol station in Wakefield.