Man arrested for allegedly beating baby