Morocco made the final after a penalty shootout win against Nigeria and are aiming for their first AFCON title for 50 years.