Modi to visit four African nations