Cameras are fine in the cold. Batteries are not, and neither are fingers.

Keep spare batteries in an inside pocket and swap them often. Bring a bag for the camera when you go back indoors, so condensation forms on the bag and not on the lens.

And never take your gloves off to change a setting you could have set before you left.