A Kansas City engineering firm will invest almost $2 million and add 77 employees at two of its Missouri offices.