But they warned that coffee has the opposite effect - with drinking more than five cups a day raising the risk of fractures.