The government is in talks about asking supermarkets to cap prices on food items to help with the cost of living.