Two fish and chip shops in South Yorkshire have been named among the 50 best in the UK.