It is obligatory for those who know about and can see the eclipse in their area to pray Salat al-Ayaat which is two Rak'ats which five Rokoo' in every Rak'at.
Nothing is Haraam specifically during or because of eclipse just because of the eclipse.
it is Makrouh ( disliked but not Haraam) to look at the sun during the eclipse.
It is Makrouh ( disliked but not Haraam) to have sexual intercourse during the eclipse.
It is recommended to busy in supplication and worshipping Allah during the eclipse.
Wassalam.