Two lifestyle choices could add up to 15% increased risk of cancer, a new study has shown.