1) During the Iddah of a slave, was all sexual contact forbidden, or can the man do everything other than penetration?

2) Does that mean that in those times, Islam allowed to touch pregnant slaves and only forbade penetration?

1) Yes only penetration is not permissible during that time

2) Correct. Penetration was not allowed during the pregnancy
But other things would be allowed