Kamikaze are a defensive weapon, which are resolved at the beginning of the combat phase, so the attacking air units have already launched from their carriers are not in danger (unless they are “guest” air units). As such, they will participate in combat even if their carrier is hit, and will have the remainder of their movement to land as normal afterwards.