удваивать - always double something - you have ONE and you have TWO of the same in the end.

сдваивать - usually you have TWO of something and you merge them to make something ONE which now combines those TWO.

this ONE and TWO can be anything (most material or abstract things)