They were shoveling snow.

Literal

They [topic-は] shovel [with-で] snow-removal were-doing.

シャベルで marks the tool used. 除雪していた means 'was removing snow' — 除雪 is a suru-verb compound.