Novak Djokovic beat Tomas Berdych and Roger Federer saw off Borna Coric in the semi-finals of the Dubai Duty Free Championships.