Charlie Austin scored twice as QPR kept a record eighth consecutive clean sheet in a 2-0 win over Barnsley in the Sky Bet Championship at Loftus Road.