Prime Minister Anthony Albanese will freeze beer taxes for the next two years, under an election promise.