We numerically investigate turbulent Rayleigh-Benard convection with gas bubbles attached to the hot plate, mimicking a core feature in electrolysis, catalysis or boiling. The existence of bubbles on the plate reduces the global heat transfer due to the much lower thermal conductivity of gases as compared with liquids and changes the structure of the boundary layers. The numerical simulations are performed in three dimensions at Prandtl number Pr = 4.38 (water) and Rayleigh number 10(7) <= Ra <= 10(8). For simplicity, we assume the bubbles to be equally sized and having pinned contact lines. We vary the total gas-covered area fraction 0.18 <= S-0 <= 0.62, the relative bubble height 0.02 <= h/H <= 0.05 (where H is the heigh...