How it works
The whole phrase is just a description plus the polite です (is) at the end. 二時間 (two hours) sits in front as a bare time expression — no particle needed — telling you how long the 飲み放題 (all-you-can-drink) lasts. Time words like this often stand alone before what they measure.