The sum depends on the current value of multiple inputs. If you model these inputs as Properties, you'll come to a nicer solution:
function sum(xs) { return _.reduce(xs, (function(x,y) {return x + y}), 0); }
// array of Properties representing the value of each group-zero-element
var groupZeroValues = $("input[data-group=0]").map(function(index, elem) {
return $(elem).asEventStream("keyup")
.map(function(e) { return parseInt($(e.target).val()); })
.toProperty(0)
}).toArray();
// sum Property
var groupZeroSum = Bacon.combineAsArray(groupZeroValues).map(sum)
// assign Property value to the "text" method of the sum element
groupZeroSum.assign($("#sum-g0"), "text")
I didn't have time to actually try this, but the idea will definitely work.